package com.shopping.dev.service;


import com.shopping.dev.pojo.Category;
import com.shopping.dev.vo.CategoryVO;
import com.shopping.dev.vo.NewItemsVO;

import java.util.List;

public interface CategoryService {

    /**
     * 获取一级分类
     * @return
     */
    public List<Category> getCatsRoot();

    /**
     * 获取子分类
     * @param rootCat
     * @return
     */
    public List<CategoryVO> getSubCat(Integer rootCat);

    public List<NewItemsVO> getSixNewItemsLazy(Integer rootCat);
}
